Class: com.microstrategy.web.app.taglibs.StringTag
Usage:
This custom tag allows users to displayed localized strings from Microstrategy's MessagesBundle, based on the ID that is indicated on the key attribute value. Note: The "descriptor" tag accomplishes the same behavior and its syntax describes the purpose of the tag better.<SPAN CLASS=highlighted> <web:descriptor key="mstrWeb.792" desc="XML API version:" /> </SPAN>
Name | Required? | Description |
attribute | false | Indicates the HTML attribute to create which will have as value the string found on the Messages collection corresponding to the given key. Usage: An HTML tag defined as this: <IMG <web:resource attribute="SRC" name="desktop_HistoryList.gif" WIDTH="60" HEIGHT="60" <web:descriptor attribute="ALT" key="mstrWeb.4" desc="History List" /> BORDER="0" />Will generate this final HTML output:
<IMG SRC="../images/desktop_HistoryList.gif" WIDTH="60" HEIGHT="60" ALT="History List" BORDER="0" />
|
desc | false | Indicates an alternative description to use if the key is not specified. |
key | true | Indicates the key of the localized string that will be displayed, according to the user's settings. |
replaceValue | false | Indicates if the ## string found in the localized message should be replaced by another given string value. Usage: If this attribute is specified, the original string that was found given the key will have the ## occurences
(if any found) replaced by the text exactly as specified on this attribute. |
ucase | false | Indicates if the localized string to display should be changed to all upper case font. |